
if ( CLIENT ) then
	SWEP.Author				= "CSE - Night-Eagle"
	SWEP.Contact			= "gmail sedhdi"
	SWEP.Purpose			= ""
	SWEP.Instructions		= "Hold use and right-click to change firemodes."
	SWEP.PrintName			= "CSE G3 SG/1"
	SWEP.Instructions		= ""
	SWEP.Slot				= 2
	SWEP.SlotPos			= 0
	SWEP.IconLetter			= "i"
	
	killicon.AddFont("cse_g3sg1","CSKillIcons",SWEP.IconLetter,Color(255,80,0,255))
end

if ( SERVER ) then
	AddCSLuaFile( "shared.lua" )
end


SWEP.Base				= "cse_base_as"

SWEP.Spawnable			= true
SWEP.AdminSpawnable		= true

SWEP.ViewModel			= "models/weapons/v_snip_g3sg1.mdl"
SWEP.WorldModel			= "models/weapons/w_snip_g3sg1.mdl"
SWEP.HoldType = "ar2"

SWEP.Weight				= 5
SWEP.AutoSwitchTo		= false
SWEP.AutoSwitchFrom		= false

SWEP.Primary.Sound			= Sound("Weapon_G3SG1.Single")
SWEP.Primary.Recoil			= 2.5
SWEP.Primary.Unrecoil		= 6.5
SWEP.Primary.Damage			= 25
SWEP.Primary.NumShots		= 1
SWEP.Primary.Cone			= 0
SWEP.Primary.ClipSize		= 21
SWEP.Primary.Delay			= 0.06 //Don't use this, use the tables below!
SWEP.Primary.DefaultClip	= 61 //Always set this 1 higher than what you want.
SWEP.Primary.Automatic		= true //Don't use this, use the tables below!
SWEP.Primary.Ammo			= "smg1"

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false
SWEP.Secondary.Ammo			= "none"

//Firemode configuration

SWEP.data = {}
SWEP.mode = "auto" //The starting firemode
SWEP.data.newclip = false //Do not change this

SWEP.data.zoomfov = 45
SWEP.data.snipefov = 30
SWEP.data.scope = true

SWEP.data.semi = {}
SWEP.data.semi.Delay = .1
SWEP.data.semi.Cone = 0.012
SWEP.data.semi.ConeZoom = 0.005

SWEP.data.auto = {}
SWEP.data.auto.Delay = .1
SWEP.data.auto.Cone = 0.015
SWEP.data.auto.ConeZoom = 0.008

//End of configuration
